<!DOCTYPE html>
<html>
<head>
	<include file="Index/header" />
	<title>{$data.title} - FCMS</title>
</head>
<body>

	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column">
				{:W('Menu/nav')}
				<div class="row clearfix main">
					<div class="col-md-8 column">
						<ul class="breadcrumb">
							<li>
								 <a href="{:U('Home/Index/index')}">首页</a>
							</li>
							<li>
								 <a href="{:U('channel', 'id='.$data['type'])}">{$channel}</a>
							</li>
							<li class="active">
								文章
							</li>
						</ul>
						<div class="page-header">
							<h1>
								{$data.title}
							</h1>
							发布：<span>{$data.a_name} </span> · 时间：<small>{$data.create_time}</small> · 阅读：<small>{$data.read}</small>
						</div>
						<div>
							{$data.content|htmlspecialchars_decode}
						</div>

					</div>
					<div class="col-md-4 column">
						<!-- <a id="modal-127481" href="#modal-container-127481" role="button" class="btn" data-toggle="modal">触发遮罩窗体</a> -->

						<div class="modal fade" id="modal-container-127481" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
							<div class="modal-dialog">
								<div class="modal-content">
									<div class="modal-header">
										<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
										<h4 class="modal-title" id="myModalLabel">标题</h4>
									</div>
									<div class="modal-body">内容...</div>
									<div class="modal-footer">
										<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
										<button type="button" class="btn btn-primary">保存</button>
									</div>
								</div>

							</div>

						</div>

						<div class="panel panel-default">
							<div class="panel-heading">
								<h3 class="panel-title">联系方式</h3>
							</div>
							<div class="panel-body">
								QQ&nbsp;&nbsp;&nbsp;：114361190 <br>
								Email：fini.yang@gmail.com <br>
								Tel&nbsp;&nbsp;&nbsp;&nbsp;：400-800-12345 <br>
							</div>

						</div>

						<div class="list-group">
							<div class="list-group-item active">同类热门文章</div>
							<foreach  name="hot" item="vo">

								<div class="list-group-item">
									<a href="{:U('Home/Index/detail','a_id='.$vo['id'])}">
										<!-- {$vo.title|mb_strlen='utf8'} -->
										<if condition="(mb_strlen($vo['title'],'utf8') gt 20)">{$vo.title|msubstr=0,20,'UTF-8',true}
										<else/>{$vo.title}
										</if>
									</a>
								</div>
							</foreach>
						</div>
						<img  width="100%" src="__PUBLIC__/assets/images/home/1009227.jpg" class="img-rounded" />
					</div>
				</div>
			</div>
		</div>
	</div>
	<include file="Index/footer" />
</body>
</html>